package com.example.administrator.test;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

/**货车添加更多需求的界面
 */
public class MoreNeedsActivity extends AppCompatActivity {
    ImageView returned;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_truck_moreneeds);
        returned = (ImageView) findViewById(R.id.returned);
        //绑定返回按钮的点击事件，返回上一级
        returned.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
}
